

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 6.00.0366 */
/* at Tue Dec 30 19:01:18 2008
 */
/* Compiler settings for art.idl:
    Oicf, W1, Zp8, env=Win32 (32b run)
    protocol : dce , ms_ext, c_ext, robust
    error checks: allocation ref bounds_check enum stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING(  )

#pragma warning( disable: 4049 )  /* more than 64k source lines */


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __art_h__
#define __art_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __ICommandItem_FWD_DEFINED__
#define __ICommandItem_FWD_DEFINED__
typedef interface ICommandItem ICommandItem;
#endif 	/* __ICommandItem_FWD_DEFINED__ */


#ifndef __INotifyCommand_FWD_DEFINED__
#define __INotifyCommand_FWD_DEFINED__
typedef interface INotifyCommand INotifyCommand;
#endif 	/* __INotifyCommand_FWD_DEFINED__ */


#ifndef __INotifyCommands_FWD_DEFINED__
#define __INotifyCommands_FWD_DEFINED__
typedef interface INotifyCommands INotifyCommands;
#endif 	/* __INotifyCommands_FWD_DEFINED__ */


#ifndef __ICommandBar_FWD_DEFINED__
#define __ICommandBar_FWD_DEFINED__
typedef interface ICommandBar ICommandBar;
#endif 	/* __ICommandBar_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

#ifdef __cplusplus
extern "C"{
#endif 

void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * ); 

/* interface __MIDL_itf_art_0000 */
/* [local] */ 



typedef /* [helpstring][version][uuid] */  DECLSPEC_UUID("F35EAA87-515A-45f7-9711-07DED49F39E5") 
enum artSortDirection
    {	artSortDirectionNone	= 0,
	artSortDirectionDescending	= 1,
	artSortDirectionAscending	= 2
    } 	artSortDirection;

typedef /* [helpstring][uuid] */  DECLSPEC_UUID("8AA1751C-5A47-4F68-9C10-166ACAE0F6DA") 
enum enumHotPanelType
    {	HotPanelTypeTabCtrl	= 0x1,
	HotPanelTypeSplitterHorizontal	= 0x2,
	HotPanelTypeSplitterVertical	= 0x3,
	HotPanelTypePopupTabCtrl	= 0x4,
	HotPanelTypePopupSplitterHorizontal	= 0x5,
	HotPanelTypePopupSplitterVertical	= 0x6
    } 	enumHotPanelType;

typedef /* [helpstring][uuid] */  DECLSPEC_UUID("CB5EB5E4-CBB5-11DB-9821-005056C00008") 
enum artCommandItemType
    {	artCommandItemTypeComboBox	= 5,
	artCommandItemTypeEdit	= 6,
	artCommandItemTypeCmd	= 7,
	artCommandItemTypeDropDown	= 9,
	artCommandItemTypeDropDownArrow	= 10
    } 	artCommandItemType;

typedef /* [helpstring][uuid] */  DECLSPEC_UUID("33F7A6CB-16F6-11DC-95AF-0011D8C3ECBE") 
enum enumCloseAction
    {	CloseActionNone	= 0x1,
	CloseActionHide	= 0x2,
	CloseActionFree	= 0x3,
	CloseActionMinimize	= 0x4
    } 	enumCloseAction;



extern RPC_IF_HANDLE __MIDL_itf_art_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_art_0000_v0_0_s_ifspec;

#ifndef __ICommandItem_INTERFACE_DEFINED__
#define __ICommandItem_INTERFACE_DEFINED__

/* interface ICommandItem */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_ICommandItem;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("5751267A-6133-4570-971D-57AFB7A0C35D")
    ICommandItem : public IDispatch
    {
    public:
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Caption( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Caption( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enable( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Enable( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Check( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Check( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Radio( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Radio( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Visible( 
            /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Visible( 
            /* [in] */ VARIANT_BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Cmd( 
            /* [retval][out] */ ULONG *nCmdID) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Cmd( 
            /* [in] */ ULONG nCmdID) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Index( 
            /* [retval][out] */ ULONG *nIndex) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CommandItemType( 
            /* [retval][out] */ artCommandItemType *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CommandItemType( 
            /* [in] */ artCommandItemType newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Width( 
            /* [retval][out] */ LONG *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Width( 
            /* [in] */ LONG newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NotifyCommand( 
            /* [retval][out] */ IDispatch **pNotifyCommand) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NotifyCommand( 
            /* [in] */ IDispatch *pNotifyCommand) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE get_ItemWindow( 
            /* [retval][out] */ HWND *phwnd) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CmdHandle( 
            /* [retval][out] */ VARIANT_BOOL *pHandle) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CmdHandle( 
            /* [in] */ VARIANT_BOOL pHandle) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IconIndex( 
            /* [retval][out] */ ULONG *nIndex) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_IconIndex( 
            /* [in] */ ULONG nIndex) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Icon( 
            /* [retval][out] */ HICON *hIcon) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Icon( 
            /* [in] */ HICON hIcon) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Bitmap( 
            /* [retval][out] */ HBITMAP *hBitmap) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Bitmap( 
            /* [in] */ HBITMAP hBitmap) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ChildCommandBar( 
            /* [retval][out] */ ICommandBar **pCommandBars) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ChildCommandBar( 
            /* [in] */ ICommandBar *pCommandBars) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ParentCommandBar( 
            /* [retval][out] */ ICommandBar **pCommandBars) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsChildItem( 
            /* [retval][out] */ VARIANT_BOOL *pChild) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateCommandBar( 
            /* [retval][out] */ ICommandBar **pCommandBars) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveItem( 
            /* [in] */ ULONG nNewIndex) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ICommandItemVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ICommandItem * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ICommandItem * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ICommandItem * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            ICommandItem * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            ICommandItem * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            ICommandItem * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            ICommandItem * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Caption )( 
            ICommandItem * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Caption )( 
            ICommandItem * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enable )( 
            ICommandItem * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enable )( 
            ICommandItem * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Check )( 
            ICommandItem * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Check )( 
            ICommandItem * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Radio )( 
            ICommandItem * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Radio )( 
            ICommandItem * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Visible )( 
            ICommandItem * This,
            /* [retval][out] */ VARIANT_BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Visible )( 
            ICommandItem * This,
            /* [in] */ VARIANT_BOOL newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Cmd )( 
            ICommandItem * This,
            /* [retval][out] */ ULONG *nCmdID);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Cmd )( 
            ICommandItem * This,
            /* [in] */ ULONG nCmdID);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Index )( 
            ICommandItem * This,
            /* [retval][out] */ ULONG *nIndex);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CommandItemType )( 
            ICommandItem * This,
            /* [retval][out] */ artCommandItemType *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CommandItemType )( 
            ICommandItem * This,
            /* [in] */ artCommandItemType newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Width )( 
            ICommandItem * This,
            /* [retval][out] */ LONG *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Width )( 
            ICommandItem * This,
            /* [in] */ LONG newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NotifyCommand )( 
            ICommandItem * This,
            /* [retval][out] */ IDispatch **pNotifyCommand);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NotifyCommand )( 
            ICommandItem * This,
            /* [in] */ IDispatch *pNotifyCommand);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *get_ItemWindow )( 
            ICommandItem * This,
            /* [retval][out] */ HWND *phwnd);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CmdHandle )( 
            ICommandItem * This,
            /* [retval][out] */ VARIANT_BOOL *pHandle);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CmdHandle )( 
            ICommandItem * This,
            /* [in] */ VARIANT_BOOL pHandle);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IconIndex )( 
            ICommandItem * This,
            /* [retval][out] */ ULONG *nIndex);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_IconIndex )( 
            ICommandItem * This,
            /* [in] */ ULONG nIndex);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Icon )( 
            ICommandItem * This,
            /* [retval][out] */ HICON *hIcon);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Icon )( 
            ICommandItem * This,
            /* [in] */ HICON hIcon);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Bitmap )( 
            ICommandItem * This,
            /* [retval][out] */ HBITMAP *hBitmap);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Bitmap )( 
            ICommandItem * This,
            /* [in] */ HBITMAP hBitmap);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ChildCommandBar )( 
            ICommandItem * This,
            /* [retval][out] */ ICommandBar **pCommandBars);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ChildCommandBar )( 
            ICommandItem * This,
            /* [in] */ ICommandBar *pCommandBars);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ParentCommandBar )( 
            ICommandItem * This,
            /* [retval][out] */ ICommandBar **pCommandBars);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsChildItem )( 
            ICommandItem * This,
            /* [retval][out] */ VARIANT_BOOL *pChild);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateCommandBar )( 
            ICommandItem * This,
            /* [retval][out] */ ICommandBar **pCommandBars);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveItem )( 
            ICommandItem * This,
            /* [in] */ ULONG nNewIndex);
        
        END_INTERFACE
    } ICommandItemVtbl;

    interface ICommandItem
    {
        CONST_VTBL struct ICommandItemVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define ICommandItem_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define ICommandItem_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define ICommandItem_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define ICommandItem_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define ICommandItem_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define ICommandItem_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define ICommandItem_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define ICommandItem_get_Caption(This,pVal)	\
    (This)->lpVtbl -> get_Caption(This,pVal)

#define ICommandItem_put_Caption(This,newVal)	\
    (This)->lpVtbl -> put_Caption(This,newVal)

#define ICommandItem_get_Enable(This,pVal)	\
    (This)->lpVtbl -> get_Enable(This,pVal)

#define ICommandItem_put_Enable(This,newVal)	\
    (This)->lpVtbl -> put_Enable(This,newVal)

#define ICommandItem_get_Check(This,pVal)	\
    (This)->lpVtbl -> get_Check(This,pVal)

#define ICommandItem_put_Check(This,newVal)	\
    (This)->lpVtbl -> put_Check(This,newVal)

#define ICommandItem_get_Radio(This,pVal)	\
    (This)->lpVtbl -> get_Radio(This,pVal)

#define ICommandItem_put_Radio(This,newVal)	\
    (This)->lpVtbl -> put_Radio(This,newVal)

#define ICommandItem_get_Visible(This,pVal)	\
    (This)->lpVtbl -> get_Visible(This,pVal)

#define ICommandItem_put_Visible(This,newVal)	\
    (This)->lpVtbl -> put_Visible(This,newVal)

#define ICommandItem_get_Cmd(This,nCmdID)	\
    (This)->lpVtbl -> get_Cmd(This,nCmdID)

#define ICommandItem_put_Cmd(This,nCmdID)	\
    (This)->lpVtbl -> put_Cmd(This,nCmdID)

#define ICommandItem_get_Index(This,nIndex)	\
    (This)->lpVtbl -> get_Index(This,nIndex)

#define ICommandItem_get_CommandItemType(This,pVal)	\
    (This)->lpVtbl -> get_CommandItemType(This,pVal)

#define ICommandItem_put_CommandItemType(This,newVal)	\
    (This)->lpVtbl -> put_CommandItemType(This,newVal)

#define ICommandItem_get_Width(This,pVal)	\
    (This)->lpVtbl -> get_Width(This,pVal)

#define ICommandItem_put_Width(This,newVal)	\
    (This)->lpVtbl -> put_Width(This,newVal)

#define ICommandItem_get_NotifyCommand(This,pNotifyCommand)	\
    (This)->lpVtbl -> get_NotifyCommand(This,pNotifyCommand)

#define ICommandItem_put_NotifyCommand(This,pNotifyCommand)	\
    (This)->lpVtbl -> put_NotifyCommand(This,pNotifyCommand)

#define ICommandItem_get_ItemWindow(This,phwnd)	\
    (This)->lpVtbl -> get_ItemWindow(This,phwnd)

#define ICommandItem_get_CmdHandle(This,pHandle)	\
    (This)->lpVtbl -> get_CmdHandle(This,pHandle)

#define ICommandItem_put_CmdHandle(This,pHandle)	\
    (This)->lpVtbl -> put_CmdHandle(This,pHandle)

#define ICommandItem_get_IconIndex(This,nIndex)	\
    (This)->lpVtbl -> get_IconIndex(This,nIndex)

#define ICommandItem_put_IconIndex(This,nIndex)	\
    (This)->lpVtbl -> put_IconIndex(This,nIndex)

#define ICommandItem_get_Icon(This,hIcon)	\
    (This)->lpVtbl -> get_Icon(This,hIcon)

#define ICommandItem_put_Icon(This,hIcon)	\
    (This)->lpVtbl -> put_Icon(This,hIcon)

#define ICommandItem_get_Bitmap(This,hBitmap)	\
    (This)->lpVtbl -> get_Bitmap(This,hBitmap)

#define ICommandItem_put_Bitmap(This,hBitmap)	\
    (This)->lpVtbl -> put_Bitmap(This,hBitmap)

#define ICommandItem_get_ChildCommandBar(This,pCommandBars)	\
    (This)->lpVtbl -> get_ChildCommandBar(This,pCommandBars)

#define ICommandItem_put_ChildCommandBar(This,pCommandBars)	\
    (This)->lpVtbl -> put_ChildCommandBar(This,pCommandBars)

#define ICommandItem_get_ParentCommandBar(This,pCommandBars)	\
    (This)->lpVtbl -> get_ParentCommandBar(This,pCommandBars)

#define ICommandItem_IsChildItem(This,pChild)	\
    (This)->lpVtbl -> IsChildItem(This,pChild)

#define ICommandItem_CreateCommandBar(This,pCommandBars)	\
    (This)->lpVtbl -> CreateCommandBar(This,pCommandBars)

#define ICommandItem_MoveItem(This,nNewIndex)	\
    (This)->lpVtbl -> MoveItem(This,nNewIndex)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_Caption_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ BSTR *pVal);


void __RPC_STUB ICommandItem_get_Caption_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_Caption_Proxy( 
    ICommandItem * This,
    /* [in] */ BSTR newVal);


void __RPC_STUB ICommandItem_put_Caption_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_Enable_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ VARIANT_BOOL *pVal);


void __RPC_STUB ICommandItem_get_Enable_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_Enable_Proxy( 
    ICommandItem * This,
    /* [in] */ VARIANT_BOOL newVal);


void __RPC_STUB ICommandItem_put_Enable_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_Check_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ VARIANT_BOOL *pVal);


void __RPC_STUB ICommandItem_get_Check_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_Check_Proxy( 
    ICommandItem * This,
    /* [in] */ VARIANT_BOOL newVal);


void __RPC_STUB ICommandItem_put_Check_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_Radio_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ VARIANT_BOOL *pVal);


void __RPC_STUB ICommandItem_get_Radio_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_Radio_Proxy( 
    ICommandItem * This,
    /* [in] */ VARIANT_BOOL newVal);


void __RPC_STUB ICommandItem_put_Radio_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_Visible_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ VARIANT_BOOL *pVal);


void __RPC_STUB ICommandItem_get_Visible_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_Visible_Proxy( 
    ICommandItem * This,
    /* [in] */ VARIANT_BOOL newVal);


void __RPC_STUB ICommandItem_put_Visible_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_Cmd_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ ULONG *nCmdID);


void __RPC_STUB ICommandItem_get_Cmd_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_Cmd_Proxy( 
    ICommandItem * This,
    /* [in] */ ULONG nCmdID);


void __RPC_STUB ICommandItem_put_Cmd_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_Index_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ ULONG *nIndex);


void __RPC_STUB ICommandItem_get_Index_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_CommandItemType_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ artCommandItemType *pVal);


void __RPC_STUB ICommandItem_get_CommandItemType_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_CommandItemType_Proxy( 
    ICommandItem * This,
    /* [in] */ artCommandItemType newVal);


void __RPC_STUB ICommandItem_put_CommandItemType_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_Width_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ LONG *pVal);


void __RPC_STUB ICommandItem_get_Width_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_Width_Proxy( 
    ICommandItem * This,
    /* [in] */ LONG newVal);


void __RPC_STUB ICommandItem_put_Width_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_NotifyCommand_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ IDispatch **pNotifyCommand);


void __RPC_STUB ICommandItem_get_NotifyCommand_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_NotifyCommand_Proxy( 
    ICommandItem * This,
    /* [in] */ IDispatch *pNotifyCommand);


void __RPC_STUB ICommandItem_put_NotifyCommand_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_ItemWindow_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ HWND *phwnd);


void __RPC_STUB ICommandItem_get_ItemWindow_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_CmdHandle_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ VARIANT_BOOL *pHandle);


void __RPC_STUB ICommandItem_get_CmdHandle_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_CmdHandle_Proxy( 
    ICommandItem * This,
    /* [in] */ VARIANT_BOOL pHandle);


void __RPC_STUB ICommandItem_put_CmdHandle_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_IconIndex_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ ULONG *nIndex);


void __RPC_STUB ICommandItem_get_IconIndex_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_IconIndex_Proxy( 
    ICommandItem * This,
    /* [in] */ ULONG nIndex);


void __RPC_STUB ICommandItem_put_IconIndex_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_Icon_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ HICON *hIcon);


void __RPC_STUB ICommandItem_get_Icon_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_Icon_Proxy( 
    ICommandItem * This,
    /* [in] */ HICON hIcon);


void __RPC_STUB ICommandItem_put_Icon_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_Bitmap_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ HBITMAP *hBitmap);


void __RPC_STUB ICommandItem_get_Bitmap_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_Bitmap_Proxy( 
    ICommandItem * This,
    /* [in] */ HBITMAP hBitmap);


void __RPC_STUB ICommandItem_put_Bitmap_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_ChildCommandBar_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ ICommandBar **pCommandBars);


void __RPC_STUB ICommandItem_get_ChildCommandBar_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandItem_put_ChildCommandBar_Proxy( 
    ICommandItem * This,
    /* [in] */ ICommandBar *pCommandBars);


void __RPC_STUB ICommandItem_put_ChildCommandBar_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandItem_get_ParentCommandBar_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ ICommandBar **pCommandBars);


void __RPC_STUB ICommandItem_get_ParentCommandBar_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICommandItem_IsChildItem_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ VARIANT_BOOL *pChild);


void __RPC_STUB ICommandItem_IsChildItem_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICommandItem_CreateCommandBar_Proxy( 
    ICommandItem * This,
    /* [retval][out] */ ICommandBar **pCommandBars);


void __RPC_STUB ICommandItem_CreateCommandBar_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICommandItem_MoveItem_Proxy( 
    ICommandItem * This,
    /* [in] */ ULONG nNewIndex);


void __RPC_STUB ICommandItem_MoveItem_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __ICommandItem_INTERFACE_DEFINED__ */


#ifndef __INotifyCommand_INTERFACE_DEFINED__
#define __INotifyCommand_INTERFACE_DEFINED__

/* interface INotifyCommand */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_INotifyCommand;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("37B38FC2-B0EE-11DB-B8A6-005056C00008")
    INotifyCommand : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryState( 
            UINT nCmdID,
            ICommandItem *pCmdUI) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NotifyCommand( 
            UINT codeNotify,
            int id,
            ICommandItem *pCmdUI) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NotifyCommandPoint( 
            UINT nCmdID,
            POINT *pt,
            ICommandItem *pCmdUI,
            IDispatch *pPopupMenuBar) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCommandTips( 
            UINT nCmdID,
            BSTR *bstrTips) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExpansionCommand( 
            UINT nCmdID,
            ICommandItem *pCmdUI) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct INotifyCommandVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            INotifyCommand * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            INotifyCommand * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            INotifyCommand * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            INotifyCommand * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            INotifyCommand * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            INotifyCommand * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            INotifyCommand * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryState )( 
            INotifyCommand * This,
            UINT nCmdID,
            ICommandItem *pCmdUI);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NotifyCommand )( 
            INotifyCommand * This,
            UINT codeNotify,
            int id,
            ICommandItem *pCmdUI);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NotifyCommandPoint )( 
            INotifyCommand * This,
            UINT nCmdID,
            POINT *pt,
            ICommandItem *pCmdUI,
            IDispatch *pPopupMenuBar);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCommandTips )( 
            INotifyCommand * This,
            UINT nCmdID,
            BSTR *bstrTips);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExpansionCommand )( 
            INotifyCommand * This,
            UINT nCmdID,
            ICommandItem *pCmdUI);
        
        END_INTERFACE
    } INotifyCommandVtbl;

    interface INotifyCommand
    {
        CONST_VTBL struct INotifyCommandVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define INotifyCommand_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define INotifyCommand_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define INotifyCommand_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define INotifyCommand_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define INotifyCommand_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define INotifyCommand_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define INotifyCommand_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define INotifyCommand_QueryState(This,nCmdID,pCmdUI)	\
    (This)->lpVtbl -> QueryState(This,nCmdID,pCmdUI)

#define INotifyCommand_NotifyCommand(This,codeNotify,id,pCmdUI)	\
    (This)->lpVtbl -> NotifyCommand(This,codeNotify,id,pCmdUI)

#define INotifyCommand_NotifyCommandPoint(This,nCmdID,pt,pCmdUI,pPopupMenuBar)	\
    (This)->lpVtbl -> NotifyCommandPoint(This,nCmdID,pt,pCmdUI,pPopupMenuBar)

#define INotifyCommand_GetCommandTips(This,nCmdID,bstrTips)	\
    (This)->lpVtbl -> GetCommandTips(This,nCmdID,bstrTips)

#define INotifyCommand_ExpansionCommand(This,nCmdID,pCmdUI)	\
    (This)->lpVtbl -> ExpansionCommand(This,nCmdID,pCmdUI)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INotifyCommand_QueryState_Proxy( 
    INotifyCommand * This,
    UINT nCmdID,
    ICommandItem *pCmdUI);


void __RPC_STUB INotifyCommand_QueryState_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INotifyCommand_NotifyCommand_Proxy( 
    INotifyCommand * This,
    UINT codeNotify,
    int id,
    ICommandItem *pCmdUI);


void __RPC_STUB INotifyCommand_NotifyCommand_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INotifyCommand_NotifyCommandPoint_Proxy( 
    INotifyCommand * This,
    UINT nCmdID,
    POINT *pt,
    ICommandItem *pCmdUI,
    IDispatch *pPopupMenuBar);


void __RPC_STUB INotifyCommand_NotifyCommandPoint_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INotifyCommand_GetCommandTips_Proxy( 
    INotifyCommand * This,
    UINT nCmdID,
    BSTR *bstrTips);


void __RPC_STUB INotifyCommand_GetCommandTips_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INotifyCommand_ExpansionCommand_Proxy( 
    INotifyCommand * This,
    UINT nCmdID,
    ICommandItem *pCmdUI);


void __RPC_STUB INotifyCommand_ExpansionCommand_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __INotifyCommand_INTERFACE_DEFINED__ */


#ifndef __INotifyCommands_INTERFACE_DEFINED__
#define __INotifyCommands_INTERFACE_DEFINED__

/* interface INotifyCommands */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_INotifyCommands;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("E009EDCD-8FD9-482e-B35E-F71924DF3101")
    INotifyCommands : public INotifyCommand
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Next( 
            /* [in] */ ULONG celt,
            /* [out] */ IUnknown **rgelt,
            /* [out] */ ULONG *pceltFetched) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Skip( 
            /* [in] */ ULONG celt) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Reset( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clone( 
            /* [out] */ IEnumUnknown **ppenum) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add( 
            INotifyCommand *pNotifyCommand) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove( 
            INotifyCommand *pNotifyCommand) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count( 
            LONG *nCount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveAll( void) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct INotifyCommandsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            INotifyCommands * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            INotifyCommands * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            INotifyCommands * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            INotifyCommands * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            INotifyCommands * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            INotifyCommands * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            INotifyCommands * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryState )( 
            INotifyCommands * This,
            UINT nCmdID,
            ICommandItem *pCmdUI);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NotifyCommand )( 
            INotifyCommands * This,
            UINT codeNotify,
            int id,
            ICommandItem *pCmdUI);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NotifyCommandPoint )( 
            INotifyCommands * This,
            UINT nCmdID,
            POINT *pt,
            ICommandItem *pCmdUI,
            IDispatch *pPopupMenuBar);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCommandTips )( 
            INotifyCommands * This,
            UINT nCmdID,
            BSTR *bstrTips);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExpansionCommand )( 
            INotifyCommands * This,
            UINT nCmdID,
            ICommandItem *pCmdUI);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Next )( 
            INotifyCommands * This,
            /* [in] */ ULONG celt,
            /* [out] */ IUnknown **rgelt,
            /* [out] */ ULONG *pceltFetched);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Skip )( 
            INotifyCommands * This,
            /* [in] */ ULONG celt);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Reset )( 
            INotifyCommands * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clone )( 
            INotifyCommands * This,
            /* [out] */ IEnumUnknown **ppenum);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )( 
            INotifyCommands * This,
            INotifyCommand *pNotifyCommand);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )( 
            INotifyCommands * This,
            INotifyCommand *pNotifyCommand);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
            INotifyCommands * This,
            LONG *nCount);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveAll )( 
            INotifyCommands * This);
        
        END_INTERFACE
    } INotifyCommandsVtbl;

    interface INotifyCommands
    {
        CONST_VTBL struct INotifyCommandsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define INotifyCommands_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define INotifyCommands_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define INotifyCommands_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define INotifyCommands_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define INotifyCommands_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define INotifyCommands_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define INotifyCommands_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define INotifyCommands_QueryState(This,nCmdID,pCmdUI)	\
    (This)->lpVtbl -> QueryState(This,nCmdID,pCmdUI)

#define INotifyCommands_NotifyCommand(This,codeNotify,id,pCmdUI)	\
    (This)->lpVtbl -> NotifyCommand(This,codeNotify,id,pCmdUI)

#define INotifyCommands_NotifyCommandPoint(This,nCmdID,pt,pCmdUI,pPopupMenuBar)	\
    (This)->lpVtbl -> NotifyCommandPoint(This,nCmdID,pt,pCmdUI,pPopupMenuBar)

#define INotifyCommands_GetCommandTips(This,nCmdID,bstrTips)	\
    (This)->lpVtbl -> GetCommandTips(This,nCmdID,bstrTips)

#define INotifyCommands_ExpansionCommand(This,nCmdID,pCmdUI)	\
    (This)->lpVtbl -> ExpansionCommand(This,nCmdID,pCmdUI)


#define INotifyCommands_Next(This,celt,rgelt,pceltFetched)	\
    (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)

#define INotifyCommands_Skip(This,celt)	\
    (This)->lpVtbl -> Skip(This,celt)

#define INotifyCommands_Reset(This)	\
    (This)->lpVtbl -> Reset(This)

#define INotifyCommands_Clone(This,ppenum)	\
    (This)->lpVtbl -> Clone(This,ppenum)

#define INotifyCommands_Add(This,pNotifyCommand)	\
    (This)->lpVtbl -> Add(This,pNotifyCommand)

#define INotifyCommands_Remove(This,pNotifyCommand)	\
    (This)->lpVtbl -> Remove(This,pNotifyCommand)

#define INotifyCommands_get_Count(This,nCount)	\
    (This)->lpVtbl -> get_Count(This,nCount)

#define INotifyCommands_RemoveAll(This)	\
    (This)->lpVtbl -> RemoveAll(This)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INotifyCommands_Next_Proxy( 
    INotifyCommands * This,
    /* [in] */ ULONG celt,
    /* [out] */ IUnknown **rgelt,
    /* [out] */ ULONG *pceltFetched);


void __RPC_STUB INotifyCommands_Next_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INotifyCommands_Skip_Proxy( 
    INotifyCommands * This,
    /* [in] */ ULONG celt);


void __RPC_STUB INotifyCommands_Skip_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INotifyCommands_Reset_Proxy( 
    INotifyCommands * This);


void __RPC_STUB INotifyCommands_Reset_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INotifyCommands_Clone_Proxy( 
    INotifyCommands * This,
    /* [out] */ IEnumUnknown **ppenum);


void __RPC_STUB INotifyCommands_Clone_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INotifyCommands_Add_Proxy( 
    INotifyCommands * This,
    INotifyCommand *pNotifyCommand);


void __RPC_STUB INotifyCommands_Add_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INotifyCommands_Remove_Proxy( 
    INotifyCommands * This,
    INotifyCommand *pNotifyCommand);


void __RPC_STUB INotifyCommands_Remove_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INotifyCommands_get_Count_Proxy( 
    INotifyCommands * This,
    LONG *nCount);


void __RPC_STUB INotifyCommands_get_Count_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INotifyCommands_RemoveAll_Proxy( 
    INotifyCommands * This);


void __RPC_STUB INotifyCommands_RemoveAll_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __INotifyCommands_INTERFACE_DEFINED__ */


#ifndef __ICommandBar_INTERFACE_DEFINED__
#define __ICommandBar_INTERFACE_DEFINED__

/* interface ICommandBar */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_ICommandBar;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("B62E5FE5-6EAB-44B3-88DD-97A2AA01045E")
    ICommandBar : public IDispatch
    {
    public:
        virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Count( 
            /* [retval][out] */ long *pCount) = 0;
        
        virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Item( 
            /* [in] */ long Index,
            /* [retval][out] */ IUnknown **pUnknown) = 0;
        
        virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get__NewEnum( 
            /* [retval][out] */ IUnknown **ppUnk) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
            /* [retval][out] */ BSTR *pName) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Name( 
            /* [in] */ BSTR Name) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Visible( 
            /* [retval][out] */ VARIANT_BOOL *pVisible) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Visible( 
            /* [in] */ VARIANT_BOOL bVisible) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enable( 
            /* [retval][out] */ VARIANT_BOOL *pEnable) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Enable( 
            /* [in] */ VARIANT_BOOL newEnable) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InsertCommand( 
            LONG nIndex,
            int nNumButton,
            BYTE *lpCommand) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetImageList( 
            /* [in] */ BYTE *hInstanceRes,
            BSTR bstrRes) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteItemCmd( 
            LONG nCmdID) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetItem( 
            /* [in] */ VARIANT *varItem,
            /* [retval][out] */ IUnknown **pCommandItem) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteItem( 
            /* [in] */ VARIANT *varItem) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddNotifyCommand( 
            /* [in] */ INotifyCommand *pNotifyCommand) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveNotifyCommand( 
            /* [in] */ INotifyCommand *pNotifyCommand) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NotifyCommands( 
            /* [retval][out] */ INotifyCommands **pNotifyCommands) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteAllItem( void) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ParentCommandBars( 
            /* [retval][out] */ IDispatch **pVal) = 0;
        
        virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_CmdItem( 
            long nCmd,
            /* [retval][out] */ IUnknown **pCommandItem) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ICommandBarVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ICommandBar * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ICommandBar * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ICommandBar * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            ICommandBar * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            ICommandBar * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            ICommandBar * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            ICommandBar * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Count )( 
            ICommandBar * This,
            /* [retval][out] */ long *pCount);
        
        /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Item )( 
            ICommandBar * This,
            /* [in] */ long Index,
            /* [retval][out] */ IUnknown **pUnknown);
        
        /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )( 
            ICommandBar * This,
            /* [retval][out] */ IUnknown **ppUnk);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
            ICommandBar * This,
            /* [retval][out] */ BSTR *pName);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( 
            ICommandBar * This,
            /* [in] */ BSTR Name);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Visible )( 
            ICommandBar * This,
            /* [retval][out] */ VARIANT_BOOL *pVisible);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Visible )( 
            ICommandBar * This,
            /* [in] */ VARIANT_BOOL bVisible);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enable )( 
            ICommandBar * This,
            /* [retval][out] */ VARIANT_BOOL *pEnable);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enable )( 
            ICommandBar * This,
            /* [in] */ VARIANT_BOOL newEnable);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InsertCommand )( 
            ICommandBar * This,
            LONG nIndex,
            int nNumButton,
            BYTE *lpCommand);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetImageList )( 
            ICommandBar * This,
            /* [in] */ BYTE *hInstanceRes,
            BSTR bstrRes);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteItemCmd )( 
            ICommandBar * This,
            LONG nCmdID);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetItem )( 
            ICommandBar * This,
            /* [in] */ VARIANT *varItem,
            /* [retval][out] */ IUnknown **pCommandItem);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteItem )( 
            ICommandBar * This,
            /* [in] */ VARIANT *varItem);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddNotifyCommand )( 
            ICommandBar * This,
            /* [in] */ INotifyCommand *pNotifyCommand);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveNotifyCommand )( 
            ICommandBar * This,
            /* [in] */ INotifyCommand *pNotifyCommand);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NotifyCommands )( 
            ICommandBar * This,
            /* [retval][out] */ INotifyCommands **pNotifyCommands);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteAllItem )( 
            ICommandBar * This);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ParentCommandBars )( 
            ICommandBar * This,
            /* [retval][out] */ IDispatch **pVal);
        
        /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CmdItem )( 
            ICommandBar * This,
            long nCmd,
            /* [retval][out] */ IUnknown **pCommandItem);
        
        END_INTERFACE
    } ICommandBarVtbl;

    interface ICommandBar
    {
        CONST_VTBL struct ICommandBarVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define ICommandBar_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define ICommandBar_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define ICommandBar_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define ICommandBar_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define ICommandBar_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define ICommandBar_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define ICommandBar_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define ICommandBar_get_Count(This,pCount)	\
    (This)->lpVtbl -> get_Count(This,pCount)

#define ICommandBar_get_Item(This,Index,pUnknown)	\
    (This)->lpVtbl -> get_Item(This,Index,pUnknown)

#define ICommandBar_get__NewEnum(This,ppUnk)	\
    (This)->lpVtbl -> get__NewEnum(This,ppUnk)

#define ICommandBar_get_Name(This,pName)	\
    (This)->lpVtbl -> get_Name(This,pName)

#define ICommandBar_put_Name(This,Name)	\
    (This)->lpVtbl -> put_Name(This,Name)

#define ICommandBar_get_Visible(This,pVisible)	\
    (This)->lpVtbl -> get_Visible(This,pVisible)

#define ICommandBar_put_Visible(This,bVisible)	\
    (This)->lpVtbl -> put_Visible(This,bVisible)

#define ICommandBar_get_Enable(This,pEnable)	\
    (This)->lpVtbl -> get_Enable(This,pEnable)

#define ICommandBar_put_Enable(This,newEnable)	\
    (This)->lpVtbl -> put_Enable(This,newEnable)

#define ICommandBar_InsertCommand(This,nIndex,nNumButton,lpCommand)	\
    (This)->lpVtbl -> InsertCommand(This,nIndex,nNumButton,lpCommand)

#define ICommandBar_SetImageList(This,hInstanceRes,bstrRes)	\
    (This)->lpVtbl -> SetImageList(This,hInstanceRes,bstrRes)

#define ICommandBar_DeleteItemCmd(This,nCmdID)	\
    (This)->lpVtbl -> DeleteItemCmd(This,nCmdID)

#define ICommandBar_GetItem(This,varItem,pCommandItem)	\
    (This)->lpVtbl -> GetItem(This,varItem,pCommandItem)

#define ICommandBar_DeleteItem(This,varItem)	\
    (This)->lpVtbl -> DeleteItem(This,varItem)

#define ICommandBar_AddNotifyCommand(This,pNotifyCommand)	\
    (This)->lpVtbl -> AddNotifyCommand(This,pNotifyCommand)

#define ICommandBar_RemoveNotifyCommand(This,pNotifyCommand)	\
    (This)->lpVtbl -> RemoveNotifyCommand(This,pNotifyCommand)

#define ICommandBar_get_NotifyCommands(This,pNotifyCommands)	\
    (This)->lpVtbl -> get_NotifyCommands(This,pNotifyCommands)

#define ICommandBar_DeleteAllItem(This)	\
    (This)->lpVtbl -> DeleteAllItem(This)

#define ICommandBar_get_ParentCommandBars(This,pVal)	\
    (This)->lpVtbl -> get_ParentCommandBars(This,pVal)

#define ICommandBar_get_CmdItem(This,nCmd,pCommandItem)	\
    (This)->lpVtbl -> get_CmdItem(This,nCmd,pCommandItem)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [propget][id] */ HRESULT STDMETHODCALLTYPE ICommandBar_get_Count_Proxy( 
    ICommandBar * This,
    /* [retval][out] */ long *pCount);


void __RPC_STUB ICommandBar_get_Count_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [propget][id] */ HRESULT STDMETHODCALLTYPE ICommandBar_get_Item_Proxy( 
    ICommandBar * This,
    /* [in] */ long Index,
    /* [retval][out] */ IUnknown **pUnknown);


void __RPC_STUB ICommandBar_get_Item_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [propget][id] */ HRESULT STDMETHODCALLTYPE ICommandBar_get__NewEnum_Proxy( 
    ICommandBar * This,
    /* [retval][out] */ IUnknown **ppUnk);


void __RPC_STUB ICommandBar_get__NewEnum_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandBar_get_Name_Proxy( 
    ICommandBar * This,
    /* [retval][out] */ BSTR *pName);


void __RPC_STUB ICommandBar_get_Name_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandBar_put_Name_Proxy( 
    ICommandBar * This,
    /* [in] */ BSTR Name);


void __RPC_STUB ICommandBar_put_Name_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandBar_get_Visible_Proxy( 
    ICommandBar * This,
    /* [retval][out] */ VARIANT_BOOL *pVisible);


void __RPC_STUB ICommandBar_get_Visible_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandBar_put_Visible_Proxy( 
    ICommandBar * This,
    /* [in] */ VARIANT_BOOL bVisible);


void __RPC_STUB ICommandBar_put_Visible_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandBar_get_Enable_Proxy( 
    ICommandBar * This,
    /* [retval][out] */ VARIANT_BOOL *pEnable);


void __RPC_STUB ICommandBar_get_Enable_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICommandBar_put_Enable_Proxy( 
    ICommandBar * This,
    /* [in] */ VARIANT_BOOL newEnable);


void __RPC_STUB ICommandBar_put_Enable_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICommandBar_InsertCommand_Proxy( 
    ICommandBar * This,
    LONG nIndex,
    int nNumButton,
    BYTE *lpCommand);


void __RPC_STUB ICommandBar_InsertCommand_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICommandBar_SetImageList_Proxy( 
    ICommandBar * This,
    /* [in] */ BYTE *hInstanceRes,
    BSTR bstrRes);


void __RPC_STUB ICommandBar_SetImageList_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICommandBar_DeleteItemCmd_Proxy( 
    ICommandBar * This,
    LONG nCmdID);


void __RPC_STUB ICommandBar_DeleteItemCmd_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICommandBar_GetItem_Proxy( 
    ICommandBar * This,
    /* [in] */ VARIANT *varItem,
    /* [retval][out] */ IUnknown **pCommandItem);


void __RPC_STUB ICommandBar_GetItem_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICommandBar_DeleteItem_Proxy( 
    ICommandBar * This,
    /* [in] */ VARIANT *varItem);


void __RPC_STUB ICommandBar_DeleteItem_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICommandBar_AddNotifyCommand_Proxy( 
    ICommandBar * This,
    /* [in] */ INotifyCommand *pNotifyCommand);


void __RPC_STUB ICommandBar_AddNotifyCommand_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICommandBar_RemoveNotifyCommand_Proxy( 
    ICommandBar * This,
    /* [in] */ INotifyCommand *pNotifyCommand);


void __RPC_STUB ICommandBar_RemoveNotifyCommand_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandBar_get_NotifyCommands_Proxy( 
    ICommandBar * This,
    /* [retval][out] */ INotifyCommands **pNotifyCommands);


void __RPC_STUB ICommandBar_get_NotifyCommands_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICommandBar_DeleteAllItem_Proxy( 
    ICommandBar * This);


void __RPC_STUB ICommandBar_DeleteAllItem_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICommandBar_get_ParentCommandBars_Proxy( 
    ICommandBar * This,
    /* [retval][out] */ IDispatch **pVal);


void __RPC_STUB ICommandBar_get_ParentCommandBars_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [propget][id] */ HRESULT STDMETHODCALLTYPE ICommandBar_get_CmdItem_Proxy( 
    ICommandBar * This,
    long nCmd,
    /* [retval][out] */ IUnknown **pCommandItem);


void __RPC_STUB ICommandBar_get_CmdItem_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __ICommandBar_INTERFACE_DEFINED__ */


/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 

unsigned long             __RPC_USER  HBITMAP_UserSize(     unsigned long *, unsigned long            , HBITMAP * ); 
unsigned char * __RPC_USER  HBITMAP_UserMarshal(  unsigned long *, unsigned char *, HBITMAP * ); 
unsigned char * __RPC_USER  HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP * ); 
void                      __RPC_USER  HBITMAP_UserFree(     unsigned long *, HBITMAP * ); 

unsigned long             __RPC_USER  HICON_UserSize(     unsigned long *, unsigned long            , HICON * ); 
unsigned char * __RPC_USER  HICON_UserMarshal(  unsigned long *, unsigned char *, HICON * ); 
unsigned char * __RPC_USER  HICON_UserUnmarshal(unsigned long *, unsigned char *, HICON * ); 
void                      __RPC_USER  HICON_UserFree(     unsigned long *, HICON * ); 

unsigned long             __RPC_USER  HWND_UserSize(     unsigned long *, unsigned long            , HWND * ); 
unsigned char * __RPC_USER  HWND_UserMarshal(  unsigned long *, unsigned char *, HWND * ); 
unsigned char * __RPC_USER  HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * ); 
void                      __RPC_USER  HWND_UserFree(     unsigned long *, HWND * ); 

unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


